import java.util.Arrays;
import java.util.PriorityQueue;

public class Test {
    public static void main(String[] args) {
        int[] array = {5,1,2,9,6,4,3,7,10,8};
        int k = 4;
        int[] ret = Work.findMinNums(array,k);
        System.out.println(Arrays.toString(ret));
    }
}
